/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.park.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.hopes.bizz.common.core.annotation.ExcelDictImportValidate;
import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 安全管理人员信息
 *
 * @author pig
 * @date 2023-10-24 15:37:01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BaseParkSafeManagerExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;



	/**
	* 专(兼)职   1:专职  2:兼职
	*/
    @ExcelProperty("专(兼)职")
	@NotBlank(message = "专(兼)职类型不能为空")
	@ExcelDictImportValidate(enumResolver = "work_type",message = "专(兼)职类型不存在")
    private String workType;

	/**
	* 人员类型
	*/
    @ExcelProperty("人员类型")
	@NotBlank(message = "人员类型不能为空")
	@ExcelDictImportValidate(enumResolver = "manager_type",message = "人员类型不存在")
    private String managerType;

	/**
	* 姓名
	*/
    @ExcelProperty("姓名")
	@NotBlank(message = "姓名不能为空")
    private String managerName;

	/**
	* 手机号
	*/
    @ExcelProperty("手机号")
	@NotBlank(message = "手机号不能为空")
    private String managerMobile;

	/**
	* 身份证号
	*/
    @ExcelProperty("身份证号")
	@NotBlank(message = "身份证号不能为空")
    private String managerIdNum;

	/**
	* 性别
	*/
    @ExcelProperty("性别")
	@NotBlank(message = "性别不能为空")
	@ExcelDictImportValidate(enumResolver = "gender",message = "性别类型不存在")
    private String managerSex;

	/**
	* 职务
	*/
    @ExcelProperty("职务")
    private String managerDuty;

	/**
	* 职责
	*/
    @ExcelProperty("职责")
    private String managerDutyDetail;

	/**
	* 证书名称
	*/
    @ExcelProperty("证书名称")
    private String certificateName;

	/**
	* 证书编号
	*/
    @ExcelProperty("证书编号")
    private String certificateCode;

	/**
	* 发证单位
	*/
    @ExcelProperty("发证单位")
    private String publishUnit;

	/**
	* 有效日期
	*/
    @ExcelProperty("有效日期")
    private Date effectiveDate;

	/**
	* 失效日期
	*/
    @ExcelProperty(value = "失效日期")
    private Date ineffectiveDate;

	/**
	* 备注
	*/
    @ExcelProperty("备注")
    private String remark;

	/**
	* 附件
	*/
    @ExcelProperty("附件")
    private String attachment;

	/**
	* 机构ID
	*/
    @ExcelProperty("机构ID")
    private Long orgId;

}
